package com.flida.echart.basic.account.service.impl;

import com.flida.echart.basic.account.dao.UserMessageDao;
import com.flida.echart.basic.account.service.IUserMessageService;
import com.flida.echart.basic.api.account.entity.UserMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userMessageService")
public class UserMessageServiceImpl implements IUserMessageService {
    @Autowired
    private UserMessageDao userMessageDao;


    public int deleteByPrimaryKey(String id) {

        return userMessageDao.deleteByPrimaryKey(id);
    }


    public int insert(UserMessage record) {

        return userMessageDao.insert(record);
    }


    public int insertSelective(UserMessage record) {

        return userMessageDao.insertSelective(record);
    }


    public UserMessage selectByPrimaryKey(String id) {

        return userMessageDao.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(UserMessage record) {

        return userMessageDao.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(UserMessage record) {

        return userMessageDao.updateByPrimaryKey(record);
    }

}
